<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> <%@ taglib uri="/WEB-INF/tag/pagetag.tld" prefix="p"%> <%@ taglib uri="/WEB-INF/tag/pageform.tld" prefix="pf"%>
<html>
<head>
<meta name="keywords" content="数据字典">
<meta name="description" content="ZM version.1.6.2 since.20210411155811">
<title>systemDicType-item</title>
<jsp:include page="/WEB-INF/views/config/include.jsp" />
<jsp:include page="/WEB-INF/views/config/jquery-validation.jsp" />
</head>
<body class="body">
	<form method="POST" action="/page/1.0/system/dictionary/type/save" id="systemDicTypePageForm">
<input type="hidden" id="classifyId" name="classifyId" value="${param.classifyId}">
<input type="hidden" id="classifyName" name="classifyName" value="${param.classifyName}">
		<pf:token data="${token}"/>
		<pf:mode data="${mode}" />
		<p:pageCurrent />
		<p:pageLimit />
		<table>
			<tr>
				<td>
					<table class="tableparam">
						<tr class="trparam">
							<td style="width: 10px;"></td>
							<td style="width: 140px;"><strong>内容编码</strong></td>
							<p:tdblank />
							<td class="tdbtn">
							<input type="submit" class="btn btn-primary btn-sm" value="添加" id="addBtn" style="display: initial"/>
							<input type="submit" class="btn btn-primary btn-sm" value="更新" id="updBtn" style="display: none"/>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<p:trline />
			<tr>
				<td>
					<table class="table table-hover tableparam">
						<tr>
							<pf:title tip="字典内容编码" />
							<pf:tdinput name="typeCode" tip="请输入字典内容编码" value="${data.typeCode}" />
							<p:tdline width="20" />
						</tr>
						<tr>
							<pf:title tip="字典内容说明" />
							<pf:tdinput name="typeName" tip="请输入字典内容说明" value="${data.typeName}" />
							<p:tdline width="20" />
						</tr>
						<tr>
							<pf:title tip="排列序号" />
							<pf:tdinput name="configSort" tip="请输入排列序号" value="${data.configSort}" />
							<p:tdline width="20" />
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<table class="table table-striped table-hover tableparam">
			<tr>
				<th>排列序号</th>
				<th>字典内容编码</th>
				<th>字典内容说明</th>
				<th>操作</th>
			</tr>
			<tbody>
				<p:nodata page="${page}" size="6" />
				<c:forEach var="item" items="${page.pageListData}">
					<tr>
						<td>${item.configSort}</td>
						<td>${item.typeCode}</td>
						<td>${item.typeName}</td>
						<td style="width: 160px;">
						<input type="button" class="btn btn2 btn-link" onclick="showPageTypeFormView('${item.configSort}','${item.typeCode}','${item.typeName}')" value="编辑" />
						<input type="button" class="btn btn2 btn-link text-dark" onclick="showPageForm('/page/1.0/base/s901091dictype/discard?id=${item.id}&updateTime=${item.updateTime}')" value="删除" />
						</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</form>
	<p:message data="${message}" />
<script src="/custom/views/js/system/dictionary.js"></script>
</body>
</html>

